/*  File Name	: Encryption.h
 *  Author		: Pang Jiacai
 *	 E-mail		: 823960168@qq.com
 *  Created on	: 2012-11-9
 *  Description:
 */

#ifndef ENCRYPTION_H_
#define ENCRYPTION_H_
#include <string>
class Encryption
{
public:
	Encryption();
	virtual ~Encryption();

	static std::string encode(int &time,int &cmd,std::string &salt,int &offset,int &len);
	static std::string decode(int &time,int &cmd,std::string &salt,int &offset,int &len);
};

#endif /* ENCRYPTION_H_ */
